package com.github.elliot.mallcenter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城表
 * </p>
 *
 * @author mybatis-plus-generator
 * @since 2025-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("item_mall")
public class ItemMall implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 主键
     */
        @TableId(value = "id", type = IdType.ASSIGN_ID)
      private Integer id;

      /**
     * 商城id
     */
      private String mallNo;

      /**
     * 商城名称
     */
      private String mallName;

      /**
     * 背景类型 1: 颜色配置 2: 图片
     */
      private Integer bgType;

      /**
     * 背景颜色
     */
      private String bgColour;

      /**
     * 修改时间
     */
      private LocalDateTime updateDate;

      /**
     * 创建人id
     */
      private String creatorId;

      /**
     * 修改人id
     */
      private String modifierId;

      /**
     * 删除标识
     */
      private Integer delFlag;

      /**
     * 图片路径
     */
      private String bgPicUrl;

      /**
     * 状态: 0: 未发布 1: 已发布
     */
      private Integer status;

      /**
     * 创建时间
     */
      private LocalDateTime createDate;


      public static final String ID = "id";

      public static final String MALL_NO = "mall_no";

      public static final String MALL_NAME = "mall_name";

      public static final String BG_TYPE = "bg_type";

      public static final String BG_COLOUR = "bg_colour";

      public static final String UPDATE_DATE = "update_date";

      public static final String CREATOR_ID = "creator_id";

      public static final String MODIFIER_ID = "modifier_id";

      public static final String DEL_FLAG = "del_flag";

      public static final String BG_PIC_URL = "bg_pic_url";

      public static final String STATUS = "status";

      public static final String CREATE_DATE = "create_date";

  }
